<header>

            <style>
              .styletpl{
                                    height: 20px;
    width: 20px;
    line-height: 30px;
    position: inherit;
    float: left;
    bottom: -20px;
    border: 1.5px solid #fff;
        margin-right: 5px;
    cursor: pointer;
              }
            </style>
            <div class="headerwrapper">
                <div class="header-left">
                    <a href="/home/record/recordList" class="logo">
                        <img src="{$LOGOURL}" alt="" />
                    </a>
                    <div class="pull-right">
                        <a href="#" class="menu-collapse">
                            <i class="fa fa-bars"></i>
                        </a>
                    </div>
                </div><!-- header-left -->
                <div class="header-right">
                    <div class="pull-right">

                        <div class="btn-group btn-group-list btn-group-notification">
                             <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">

                              <span class="badge">{$sys_Vinfo.v_value}录音管理系统</span>
                            </button>
                           <!-- <div class="styletpl" style="background-color: #2f312f"></div>
                           <div class="styletpl" style="background-color: #234b5b"></div>
                           <div class="styletpl" style="background-color: #222684"></div> -->
                        </div><!-- btn-group -->




                    </div><!-- pull-right -->

            </div><!-- headerwrapper -->
        </header>

        <!-- 告警模态框 -->
        <div class="modal fade" id="alertModel2" tabindex="-1" role="dialog" aria-labelledby="myAlert">
          <div class="modal-dialog" role="document" style="width:450px">
            <div class="modal-content" >
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myAlert" style="text-align: center;">提示</h4>
              </div>
              <div class="modal-body">
                <div class="inner">
                    <h4 class="Alertmessage"> </h4>
                </div>

              </div>
              <div class="modal-footer">
              <button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
              </div>
            </div>
          </div>
        </div>
        <script src="__PUBLIC__/assets/bootstrap/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript">

$(document).ready( function () {
    var canSearch = "{$canSearch}";
	var canAudit = "{$canAudit}";
    if(canSearch == 0 && canAudit == 0){
        $('#alertModel2').modal('show');
        $('.Alertmessage').html('没有查询或审计权限，请联系管理员')
        return;
    }
})
</script>
